<!-- toaster directive -->
<toaster-container toaster-options="{'position-class': 'toast-top-right', 'close-button':true}"></toaster-container>
<!-- / toaster directive -->

<!-- 导航条 -->
<div class="bg-white bread-crumb">
    <ul class="breadcrumb b-a m-b-n-xs lter b-b wrapper-md">
        <li><a ui-sref="main.tpl.homePage"><i class="fa fa-home"></i> 首页</a></li>
        <li><a ui-sref="main.biz.rechargeRule.list" href="">充值规则</a></li>
        <li class="active" ng-bind="title"></li>
    </ul>
</div>

<!-- 内容区域 -->
<div class="wrapper-md content">
    <div class="panel panel-default">
        <!-- 头部 -->
        <div class="panel-heading font-bold">{{title}}
            <a class="btn btn-sm btn-icon btn-rounded btn-default pull-right m-t-n-xs" ui-sref="main.biz.rechargeRule.list"><i class="text-md fa fa-times text-muted"></i></a>
        </div>
        <!--表单-->
        <div class="panel-body">
            <form class="form-horizontal"  name="extract_form" id="form">
                <!--充值金额-->
                <div class="form-group">
                    <label class="col-lg-2 col-sm-3 control-label" for="rechargeMoney">
                        <span class="text-danger wrapper-sm">*</span>充值金额</label>
                    <div class="col-sm-6">
                        <input type="text" class="form-control" name="rechargeMoney" id="rechargeMoney" placeholder="请输入充值金额..." ng-model="record.rechargeMoney" onkeyup="if(!/^[0-9\.]+$/.test(this.value)) { this.value='';}" required>
                    </div>
                </div>
                <div class="line line-dashed b-b line-lg pull-in"></div>
                <!--赠送金额-->
                <div class="form-group">
                    <label class="col-lg-2 col-sm-3 control-label" for="sendMoney">
                        <span class="text-danger wrapper-sm">*</span>赠送金额</label>
                    <div class="col-sm-6">
                        <input type="text" class="form-control" name="sendMoney" id="sendMoney" placeholder="请输入赠送金额..." ng-model="record.sendMoney" onkeyup="if(!/^[0-9\.]+$/.test(this.value)) { this.value='';}" required>
                    </div>
                </div>
                <div class="line line-dashed b-b line-lg pull-in"></div>
                <!--比率-->
                <div class="form-group">
                    <label class="col-lg-2 col-sm-3 control-label" for="rate">
                        <span class="text-danger wrapper-sm">*</span>比率</label>
                    <div class="col-sm-6">
                        <input type="text" class="form-control" name="rate" id="rate" placeholder="请输入比率..." ng-model="record.rate" onkeyup="if(!/^[0-9\.]+$/.test(this.value)) { this.value='';}" required>
                    </div>
                </div>
                <div class="line line-dashed b-b line-lg pull-in"></div>
                <!--排序-->
                <!-- <div class="form-group">
                    <label class="col-lg-2 col-sm-3 control-label" for="sort">
                        <span class="text-danger wrapper-sm">*</span>排序号</label>
                    <div class="col-sm-6">
                        <input type="text" class="form-control" name="sort" id="sort" placeholder="请输入排序号..." ng-model="record.sort" ng-model="record.minMoney" onkeyup="if(!/^[0-9]+$/.test(this.value)) { this.value='';}" required >
                    </div>
                </div>
                <div class="line line-dashed b-b line-lg pull-in"></div> -->
                <!--最低金额-->
                <div class="form-group">
                    <label class="col-lg-2 col-sm-3 control-label" for="minMoney">
                        <span class="text-danger wrapper-sm">*</span>最低金额</label>
                    <div class="col-sm-6">
                        <input type="text" class="form-control" name="minMoney" id="minMoney" placeholder="请输入最低金额..." ng-model="record.minMoney" onkeyup="if(!/^[0-9\.]+$/.test(this.value)) { this.value='';}" required>
                    </div>
                </div>
                <div class="line line-dashed b-b line-lg pull-in"></div>
                <!--最高金额-->
                <div class="form-group">
                    <label class="col-lg-2 col-sm-3 control-label" for="maxMoney">
                        <span class="text-danger wrapper-sm">*</span>最高金额</label>
                    <div class="col-sm-6">
                        <input type="text" class="form-control" name="maxMoney" id="maxMoney" placeholder="请输入最高金额..." ng-model="record.maxMoney" onkeyup="if(!/^[0-9\.]+$/.test(this.value)) { this.value='';}" required>
                    </div>
                </div>
                <div class="line line-dashed b-b line-lg pull-in"></div>

                <!--展示文本-->
                <div class="form-group">
                    <label class="col-lg-2 col-sm-3 control-label" for="showText">
                        <span class="text-danger wrapper-sm">*</span>展示文本</label>
                    <div class="col-sm-6">
                        <input type="text" class="form-control" name="showText" id="showText" placeholder="请输入展示文本..." ng-model="record.showText" >
                    </div>
                </div>
                <div class="line line-dashed b-b line-lg pull-in"></div>


                <div class="form-group">
                    <div class="col-sm-6 col-sm-offset-2" >
                        <button type="reset" class="btn btn-default w-xs">重置</button>
                        <button type="submit" class="btn btn-info w-xs m-l-xl" ng-disabled="isDisabled">保存</button>
                    </div>
                </div>
            </form>
        </div>
    </div>
</div>